<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
	<table>
		<tr>
			<th>学号</th>
			<th>姓名</th>
			<th>性别</th>
			<th>班级</th>
			<th colspan="2">操作</th>
		</tr>
		<c:forEach items="${student}" var="s">
			<tr>
				<td>${s.stuNum}</td>
				<td>${s.name }</td>
				<td>${s.sex }</td>
				<td>${s.tbClass.className}</td>
				<td>
					<a href="studentedit?id=${s.id}">修改</a>
					<a href="studentdelete?id=${s.id }">删除</a>
				</td>
			</tr>
		</c:forEach>
	</table>